package com.seanLab.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Mongo数据库信息
 * Created by ailly on 17-10-31.
 */
@Component
@ConfigurationProperties(prefix = "com.dasLab.mongodb.collection")
public class MongoConfig {

    private String article;
    private String specialImage;
    private String image;
    private String editorAddTag;
    private String editorDeleteTag;
    private String editorFeedback;
    private String editorImageScore;
    private String editorSession;
    private String testDocs;
    private String userDocs;
    private String testUser;

    @Bean
    public String getArticle() {
        return article;
    }

    public void setArticle(String article) {
        this.article = article;
    }

    @Bean
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Bean
    public String getSpecialImage() {
        return specialImage;
    }

    public void setSpecialImage(String specialImage) {
        this.specialImage = specialImage;
    }

    @Bean
    public String getEditorAddTag() {
        return editorAddTag;
    }

    public void setEditorAddTag(String editorAddTag) {
        this.editorAddTag = editorAddTag;
    }

    @Bean
    public String getEditorDeleteTag() {
        return editorDeleteTag;
    }

    public void setEditorDeleteTag(String editorDeleteTag) {
        this.editorDeleteTag = editorDeleteTag;
    }

    @Bean
    public String getEditorFeedback() {
        return editorFeedback;
    }

    public void setEditorFeedback(String editorFeedback) {
        this.editorFeedback = editorFeedback;
    }

    @Bean
    public String getEditorImageScore() {
        return editorImageScore;
    }

    public void setEditorImageScore(String editorImageScore) {
        this.editorImageScore = editorImageScore;
    }

    @Bean
    public String getEditorSession() {
        return editorSession;
    }

    public void setEditorSession(String editorSession) {
        this.editorSession = editorSession;
    }

    @Bean
    public String getTestDocs() {
        return testDocs;
    }

    public void setTestDocs(String testDocs) {
        this.testDocs = testDocs;
    }

    @Bean
    public String getUserDocs() {
        return userDocs;
    }

    public void setUserDocs(String userDocs) {
        this.userDocs = userDocs;
    }

    @Bean
    public String getTestUser() {
        return testUser;
    }

    public void setTestUser(String testUser) {
        this.testUser = testUser;
    }
}
